<div id="top-panel">
    <div id="panel">
        <ul>
            <li><a href="<?php echo site_url("assign"); ?>" class="report_seo">List</a></li>			
        </ul>
    </div>
</div>
<div id="wrapper">
	<div id="content">
		<div id="rightnow">
			<h3 class="reallynow">New Item</h3>
			<div>
				<?php echo validation_errors(); ?>
			</div>
			<?php echo form_open('assign/save') ?>		
			<table width="100%">
				<tr>
					<td>Group</td>
					<td>
						<select name="gid" class="input1">
							<?php foreach($group as $v): ?>
								<option value="<?php echo $v['id']; ?>"><?php echo $v['name']; ?></option>
							<?php endforeach; ?>
						</select>
					</td>
				</tr>
				<tr>
					<td>Manage</td>
					<td>
						<div style="width:255px;height:250px;overflow:scroll">
							<?php foreach($module as $v): ?>
								<input type="checkbox" id="module_id" name="module_id[]" value="<?php echo $v['id']; ?>" /> <?php echo $v['name']; ?><br />
							<?php endforeach; ?>
						</div>
					</td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td><input type="submit" value="Save" >
						<input type="button" value="Cancel" class="btcancel" /></td>
				<tr>
			</table>
		</div>
	</div>
</div>